#include "basefileparser.h"

QString BaseFileParser::readFile(const QString &fileName)
{
    QFile file(fileName);
    if(!file.exists()){
        return "None";
    }
    if(!file.open(QIODevice::ReadOnly)){
        return "None";
    }
    QString fileContent = file.readAll();
    file.close();
    return fileContent;
}
